Title: When Can Individual Partisanship Be Tempered? Mass Behavior and Attitudes across the COVID-19 Pandemic 
Authors: 

- Brandice Canes-Wrone: Professor of Political Science and Maurice R. Greenberg Senior Fellow at the Hoover Institution, Stanford University, bcwrone@stanford.edu
- Jonathan T. Rothwell: Principal Economist at Gallup, Non-resident Senior Fellow at Brookings Institution, & Visiting Scholar at George Washington University, jonathan_rothwell@gallup.com
- Christos A. Makridis: Arizona State University & Stanford University, cmakridi@stanford.edu

Date: May 2025

ReadMe File

This replication folder contains 8 elements:

File Name		Description

ReadMe.txt				This file, which lists all files and compute environment dependencies necessary to verify the results of the manuscript. ‎
codebook.doc				The codebook for all the variables in the analysis dataset.
data_gallup.dta				Main analysis dataset
stacked_did_data_never_treated.dta	Stacked dataset for stacked difference-in-differences using never-treated as control group
stacked_did_data_ever_treated.dta	Stacked dataset for stacked difference-in-differences using not-yet-treated as control group
COVID_data_from_USA_Facts.dta		Ancillary dataset used to create a statistic for the footnote in Table S5
cwrm_replication_STATA.do		Do file for all figures and tables in main text and supplemental other than S21, S24, and S25 (which were created in R)
Figures_made_in_R.R			R Script to reproduce Figures S21, S24, and S25

In cwrm_replication_STATA.do, please see notes about STATA packages and directories. As stated there, you need the following STATA packages: ftools, reghdfe, outreg2, grc1leg, coefplot, stackdid, estpost. If you do not already have them, use commands lookup, ssc, and install as needed to install

If not already set, set the directory for the main files, using the cd command
For instance, cd "C:\Users\replication\"
This directory will be specific to your computer and filenames

For directories, if not created already, create figures and tables folders where output is stored. These are used in the do file itself and should not be renamed unless you plan to edit the do file accordingly. 

capture mkdir "figures"
capture mkdir "tables"
capture mkdir "data"



Computing Environment

R version:			4.3.3 (2024-02-29 ucrt) -- "Angel Food Cake"
Stata version:			19.5 
OS Name:			Microsoft Windows 11 Pro for Workstations



